package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.query.StrategySearchQuery;
import cn.wolfcode.luowowo.search.template.StrategyTemplate;
import cn.wolfcode.luowowo.search.vo.StatisVO;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface IStrategyTemplateService {
    void save(StrategyTemplate t);

    List<Map<String,Object>> queryThemeTop10();

    List<StatisVO> queryConditionThemeGroup();

    List<StatisVO> queryConditionAbroadsGroup();

    List<StatisVO> queryConditionProvincesGroup();

    Page query(StrategySearchQuery qo);

    List<StrategyTemplate> findByDestName(String name);
}
